<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>

<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>

<%
	String path = request.getContextPath();

	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>

<html>
<head>
<base href="<%=basePath%>">
<title><s:message code="M_6200_LAYOUT_MANAGEMENT_TAG" /></title>
<%@ include file="/page/comPage/comCSS.html"%>
<%@ include file="/page/comPage/navbar.html"%>
</head>
<body>
	<div class="container-fluid">
		<div class="col-lg-12 btnDivCss" style ="height:75px">
			<button class="btn btn-info" id="query_btn"><s:message code="QUERY_TAG" /></button>
		    <button class="btn btn-primary" id="add_btn"><s:message code="ADD_TAG" /></button>
		    <button class="btn btn-warning" id="update_btn"><s:message code="UPDATE_TAG" /></button>
		    <button class="btn btn-primary" id="copy_btn"><s:message code="COPY_TAG" /></button>
			<button class="btn btn-danger" id="delete_btn"><s:message code="DELETE_TAG" /></button>
			<button class="btn btn-success" id="save_btn"><s:message code="SAVE_TAG" /></button>
			<button class="btn btn-warning" id="rollback_btn"><s:message code="ROLLBACK_TAG" /></button>
			<button class="btn btn-primary" id="clear_btn"><s:message code="CLEAR_TAG" /></button>
		</div>
		
		<div class="col-lg-4" id="table1Div">
			<fieldset>
				<legend><s:message code="LAYOUT_LIST_TAG" /></legend>
			</fieldset>
			<div id="layotListDiv" class="col-lg-12">
				<table id="layotListGrd"></table>
					<div id="layotListPg"></div>
			</div>
		</div>
		
		<div class="col-lg-8" style="margin-top: -10px">
			<div class="col-lg-12">
				<ul id="mytab" class="nav nav-tabs">
					<li class="active"><a id="tab1" href="#tabPane_layot" data-toggle="tab"> <s:message code="LAYOT_TAG" />
					</a></li>
					<li><a id="tab2" href="#tabPane_location" data-toggle="tab">  <s:message code="LAYOT_LOC_TAG" />
					</a></li>
				</ul>
				<div class="tab-content">
					<!-- tab1 start-->
					<div class="tab-pane active row" id="tabPane_layot" style="margin-top: 20px">
						<form id="layotConditionForm" class="col-lg-12 form-horizontal">
						<div class="form-group col-lg-8">
							<label class="control-label col-lg-6 keyCss" for="layotIDTxt">
								<s:message code="LAYOUT_ID_TAG" />
							</label>
							<div class="col-lg-6">
								<input type="text" id="layotIDTxt" class="form-control">
							</div>
						</div>
						<div class="form-group col-lg-8">
							<label class="control-label col-lg-6 keyCss" for="layotDscTxt">
								<s:message code="LAYOUT_DSC_TAG" />
							</label>
							<div class="col-lg-6">
								<input type="text" id="layotDscTxt" class="form-control">
							</div>
						</div>
						<div class="form-group col-lg-8">
							<label class="control-label col-lg-6 keyCss" for="layotCateSel">
								<s:message code="LAYOT_CATE_TAG" />
							</label>
							<div class="col-lg-6">
								<select id="layotCateSel" class="form-control" style="width: 100%;"></select>
							</div>
						</div>
						<div class="form-group col-lg-8">
							<label class="control-label col-lg-6 keyCss" for="xAxisCntTxt">
								<s:message code="X_AXIS_CNT_TAG" />
							</label>
							<div class="col-lg-6">
			<!-- 					<input type="text" id="xAxisCntTxt" class="form-control">
			 -->					<input type="text" id="xAxisCntTxt" class="form-control"
										onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">
							</div>
						</div>
						<div class="form-group col-lg-8">
							<label class="control-label col-lg-6 keyCss" for="yAxisCntTxt">
								<s:message code="Y_AXIS_CNT_TAG" />
							</label>
							<div class="col-lg-6">
			<!-- 					<input type="text" id="yAxisCntTxt" class="form-control">
			 -->					<input type="text" id="yAxisCntTxt" class="form-control"
										onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">
							</div>
						</div>
						<div class="col-lg-4">
								  <button class="btn btn-primary" id="location_btn"><s:message code="LOCATION_TAG" /></button>
						</div>
						</form>
						<div id="layoutDiv" class="col-lg-12">
						</div>
					</div>
					<!-- tab1 end -->
					
					<!-- tab2 start-->
					<div class="tab-pane row" style="margin-left:40px;" id="tabPane_location">
						<div id="locationListDiv" class="row" style="margin-top: 20px">
							<table id="locationListGrd"></table>
							<div id="locationListPg"></div>
						</div>
					</div>
					<!-- tab2 end-->
				</div>
			</div>
		</div>
	</div>
	
	<!-- 查询对话框 -->
	<div id="querylayotDialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="title" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h4 class="modal-title">
						<s:message code="QUERY_CONDITION_TAG" />
					</h4>
				</div>

				<!--Modal header-->

				<div class="modal-body">
					<div class="row">
						<form id="querylayotDialog_layotLCForm" class="form-horizontal">
						<div class="control-group">
							<label class="col-sm-3 control-label" for="querylayotDialog_layotIDTxt"> <s:message code="LAYOT_ID_TAG" />
							</label>
							<div class="col-sm-3">
								<input type="text" id="querylayotDialog_layotIDTxt" class="form-control" />
							</div>
							<div class="col-sm-3">
								<span id="querylayotDialog_helpLineSpn" class="help-inline"> 模糊查询请使用 <span style="color: red; font-weight: bold;">*</span>
								</span>
							</div>
						</div>
					</form>
					</div>
				</div>
				<div class="modal-footer">
					<a id="querylayotDialog_cancelBtn" class="btn" data-dismiss="modal"> <s:message code="CANCEL_TAG" />
					</a> <a id="querylayotDialog_queryBtn" class="btn btn-primary"> <s:message code="QUERY_BTN_TAG" />
					</a>
				</div>
			</div>
		</div>
	</div>
</body>
<%@ include file="/page/comPage/comJS.html"%>
<script type="text/javascript" src="js/page/6000/6200.js?v=20170402601"></script>
</html>

